<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: Widget open flags</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">Widget open flags</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>passed as options to <a class="el" href="group___f_o_r_m___c.html#gad13585334cbdbf7bc9910cc166137d19" title="Display a dockable modeless dialog box and return a handle to it. ">open_form()</a> and <a class="el" href="kernwin_8hpp.html#a6746efc8141915a221de63ff3fd33fe8" title="Display a widget. ">display_widget()</a> </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gac5f6b78b545a46d747cbe7765abec8bc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac5f6b78b545a46d747cbe7765abec8bc"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#gac5f6b78b545a46d747cbe7765abec8bc">WOPN_MDI</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="memdesc:gac5f6b78b545a46d747cbe7765abec8bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">start by default as MDI <br /></td></tr>
<tr class="separator:gac5f6b78b545a46d747cbe7765abec8bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9948be782391ac59be3fe080ce56f956"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9948be782391ac59be3fe080ce56f956"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#ga9948be782391ac59be3fe080ce56f956">WOPN_TAB</a>&#160;&#160;&#160;0x02</td></tr>
<tr class="memdesc:ga9948be782391ac59be3fe080ce56f956"><td class="mdescLeft">&#160;</td><td class="mdescRight">attached by default to a tab <br /></td></tr>
<tr class="separator:ga9948be782391ac59be3fe080ce56f956"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20b20c7da29c10aab581e1a1cf4b9121"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga20b20c7da29c10aab581e1a1cf4b9121"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#ga20b20c7da29c10aab581e1a1cf4b9121">WOPN_RESTORE</a>&#160;&#160;&#160;0x04</td></tr>
<tr class="memdesc:ga20b20c7da29c10aab581e1a1cf4b9121"><td class="mdescLeft">&#160;</td><td class="mdescRight">restore state from desktop config <br /></td></tr>
<tr class="separator:ga20b20c7da29c10aab581e1a1cf4b9121"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9edf00df17a42ee53339221006535996"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9edf00df17a42ee53339221006535996"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#ga9edf00df17a42ee53339221006535996">WOPN_ONTOP</a>&#160;&#160;&#160;0x08</td></tr>
<tr class="memdesc:ga9edf00df17a42ee53339221006535996"><td class="mdescLeft">&#160;</td><td class="mdescRight">form should be "ontop" <br /></td></tr>
<tr class="separator:ga9edf00df17a42ee53339221006535996"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50de002765fb091715f7a7b9bf06a183"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#ga50de002765fb091715f7a7b9bf06a183">WOPN_MENU</a>&#160;&#160;&#160;0x10</td></tr>
<tr class="memdesc:ga50de002765fb091715f7a7b9bf06a183"><td class="mdescLeft">&#160;</td><td class="mdescRight">form must be listed in the windows menu  <a href="#ga50de002765fb091715f7a7b9bf06a183">More...</a><br /></td></tr>
<tr class="separator:ga50de002765fb091715f7a7b9bf06a183"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f006a2fc08f4c1b0bcd410c2b2daabd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#ga4f006a2fc08f4c1b0bcd410c2b2daabd">WOPN_CENTERED</a>&#160;&#160;&#160;0x20</td></tr>
<tr class="memdesc:ga4f006a2fc08f4c1b0bcd410c2b2daabd"><td class="mdescLeft">&#160;</td><td class="mdescRight">form will be centered on the screen  <a href="#ga4f006a2fc08f4c1b0bcd410c2b2daabd">More...</a><br /></td></tr>
<tr class="separator:ga4f006a2fc08f4c1b0bcd410c2b2daabd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga918e9e6bc7908dcff2cf7831b2666b0f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#ga918e9e6bc7908dcff2cf7831b2666b0f">WOPN_PERSIST</a>&#160;&#160;&#160;0x40</td></tr>
<tr class="memdesc:ga918e9e6bc7908dcff2cf7831b2666b0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">form will persist until explicitly closed with <a class="el" href="kernwin_8hpp.html#ad27da33115a2f2e7bddbbf5d29aa814b" title="Close widget (ui_close_widget, only gui version). ">close_widget()</a>  <a href="#ga918e9e6bc7908dcff2cf7831b2666b0f">More...</a><br /></td></tr>
<tr class="separator:ga918e9e6bc7908dcff2cf7831b2666b0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga101c9554be4ff4f8644f6c923a85229c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga101c9554be4ff4f8644f6c923a85229c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#ga101c9554be4ff4f8644f6c923a85229c">WOPN_CLOSED_BY_ESC</a>&#160;&#160;&#160;0x80</td></tr>
<tr class="memdesc:ga101c9554be4ff4f8644f6c923a85229c"><td class="mdescLeft">&#160;</td><td class="mdescRight">override idagui.cfg:CLOSED_BY_ESC: esc will close <br /></td></tr>
<tr class="separator:ga101c9554be4ff4f8644f6c923a85229c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7bf2f364048df698bf0d5558fd53df54"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga7bf2f364048df698bf0d5558fd53df54"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#ga7bf2f364048df698bf0d5558fd53df54">WOPN_NOT_CLOSED_BY_ESC</a>&#160;&#160;&#160;0x100</td></tr>
<tr class="memdesc:ga7bf2f364048df698bf0d5558fd53df54"><td class="mdescLeft">&#160;</td><td class="mdescRight">override idagui.cfg:CLOSED_BY_ESC: esc will not close <br /></td></tr>
<tr class="separator:ga7bf2f364048df698bf0d5558fd53df54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc5d8da32a60ce55ec63bf362dc794ea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_i_d_g_e_t___o_p_e_n.html#gacc5d8da32a60ce55ec63bf362dc794ea">WOPN_SZHINT</a>&#160;&#160;&#160;0x200</td></tr>
<tr class="memdesc:gacc5d8da32a60ce55ec63bf362dc794ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">when floating (i.e., not tabbed), use the widget's size hint to  <a href="#gacc5d8da32a60ce55ec63bf362dc794ea">More...</a><br /></td></tr>
<tr class="separator:gacc5d8da32a60ce55ec63bf362dc794ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga50de002765fb091715f7a7b9bf06a183"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WOPN_MENU&#160;&#160;&#160;0x10</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>form must be listed in the windows menu </p>
<p>(automatically set for all plugins) </p>

</div>
</div>
<a class="anchor" id="ga4f006a2fc08f4c1b0bcd410c2b2daabd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WOPN_CENTERED&#160;&#160;&#160;0x20</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>form will be centered on the screen </p>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

</div>
</div>
<a class="anchor" id="ga918e9e6bc7908dcff2cf7831b2666b0f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WOPN_PERSIST&#160;&#160;&#160;0x40</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>form will persist until explicitly closed with <a class="el" href="kernwin_8hpp.html#ad27da33115a2f2e7bddbbf5d29aa814b" title="Close widget (ui_close_widget, only gui version). ">close_widget()</a> </p>
<dl class="section return"><dt>Returns</dt><dd>nothing </dd></dl>

</div>
</div>
<a class="anchor" id="gacc5d8da32a60ce55ec63bf362dc794ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WOPN_SZHINT&#160;&#160;&#160;0x200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>when floating (i.e., not tabbed), use the widget's size hint to </p>
<p>determine the best geometry (Qt only) </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
